package com.example.java1mysql1.infrastructure;

import com.example.java1mysql1.entity.CampusGroup;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface JpaGroup extends JpaRepository<CampusGroup,Long> {

    CampusGroup findByGroupCode(String code);
}
